.partners {
  width: 100%;
  background: #ffffff;
  padding-top: 60px;
  margin-bottom: 80px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 30px;
  margin-top: 0px;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background-color: #ddd;
}

.section-title::before {
  right: calc(50% + 100px);
}

.section-title::after {
  left: calc(50% + 100px);
}

@keyframes marquee {
  to {
      translate: calc(-100% - var(--gap)) 0;
  }
}

@keyframes marquee2 {
  from {
      translate: calc(100% + var(--gap));
  }

  to {
      translate: 0;
  }
}

.marquee__container {
  --gap: 28px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask: linear-gradient(90deg, #0000, #000 5% 95%, #0000);
  max-width: fit-content;
  height: 160px;
}

.marquee {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: marquee 50s linear infinite running;
}

.marquee:last-child {
  position: absolute;
  top: 0;
  left: 0;
  animation-name: marquee2;
}

.marquee__container:hover .marquee {
  animation-play-state: paused;
}


.marquee div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.05);
  border-radius: 12px 12px 12px 12px;
}

.marquee div img {
  width: 120px;
  height: 120px;
}


@media (max-width: 768px) {
  .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .section-title::before,
  .section-title::after {
    width: 60px;
  }

  .section-title::before {
    right: calc(50% + 80px);
  }

  .section-title::after {
    left: calc(50% + 80px);
  }
}